﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Phoenix.AppCode.Entities;
using Phoenix.AppCode.Data;
using System.Data;

namespace Phoenix.AppCode.Bussiness
{
    public class CounterService
    {
        public CounterService() {}

        public static DataTable GetCounter(Counter counter)
        {
            CounterDAO counterDAO = new CounterDAO();
            return counterDAO.GetCounter(counter);
        }
        public static void UpdateCounter(Counter counter)
        {
            CounterDAO counterDAO = new CounterDAO();
            counterDAO.Update(counter);
        }
    }
}